<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>

<logic:equal name="PaymentPolicyDefinitionForm" property="operation" value="newPayPol">
	<select  name="item" id="itemCb">
	         <option value="-1"><bean:message key="label.allOption" /></option>
	  
	    <c:forEach items='${itemColl}' var='items'>
	    	<logic:equal name="PaymentPolicyDefinitionForm" property="item" value="${items.eesc06ItemNumberK}">
	               <option value="${items.eesc06ItemNumberK}" selected="selected"> ${items.eesc06ItemNameN}</option>
	       	</logic:equal>
	    	<logic:notEqual name="PaymentPolicyDefinitionForm" property="item" value="${items.eesc06ItemNumberK}">
	               <option value="${items.eesc06ItemNumberK}"> ${items.eesc06ItemNameN}</option>
	       	</logic:notEqual>	       	
	    </c:forEach>
	</select>
</logic:equal>
<logic:notEqual name="PaymentPolicyDefinitionForm" property="operation" value="newPayPol">
	<select name="item" id="itemCb" disabled="disabled">
	    <option value="-1"><bean:message key="label.allOption" /></option>
	  
		<c:forEach items='${itemColl}' var='items'>
	    	<logic:equal name="PaymentPolicyDefinitionForm" property="item" value="${items.eesc06ItemNumberK}">
	               <option value="${items.eesc06ItemNumberK}" selected="selected"> ${items.eesc06ItemNameN}</option>
	       	</logic:equal>
	    	<logic:notEqual name="PaymentPolicyDefinitionForm" property="item" value="${items.eesc06ItemNumberK}">
	               <option value="${items.eesc06ItemNumberK}"> ${items.eesc06ItemNameN}</option>
	       	</logic:notEqual>	       	
	    </c:forEach>
	</select>
</logic:notEqual>
